package Decorate;

public class TextComponent implements Component{
    String content;

    TextComponent(String content){
        this.content = content;
    }

    @Override
    public void show() {
        System.out.println(content);
    }
}
